aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/account/[id]
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-18 09:08:07 -0700
committerAdam Soltys <[email protected]>2024-10-18 09:09:14 -0700
commit002cd9134d2e23bec34f838f6d6fefba41f2d530 (patch)
tree92fa0e0ab54ce1a715d25f458de8b8ed8cc70bd5 /src/routes/(app)/account/[id]
parentf6bfe889d91bc6e36b0300d7b618f10158efe176 (diff)
downloadcoinos-ui-002cd9134d2e23bec34f838f6d6fefba41f2d530.tar.gz
coinos-ui-002cd9134d2e23bec34f838f6d6fefba41f2d530.zip
biome format
Diffstat (limited to 'src/routes/(app)/account/[id]')
-rw-r--r--src/routes/(app)/account/[id]/+page.server.ts3
-rw-r--r--src/routes/(app)/account/[id]/+page.svelte4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/routes/(app)/account/[id]/+page.server.ts b/src/routes/(app)/account/[id]/+page.server.ts
index 35b5517d..e521f15b 100644
--- a/src/routes/(app)/account/[id]/+page.server.ts
+++ b/src/routes/(app)/account/[id]/+page.server.ts
@@ -1,11 +1,10 @@
import { error, redirect } from "@sveltejs/kit";
import { auth, get, post, fd } from "$lib/utils";
-
export let load = async ({ cookies, params }) => {
let account = await get(`/account/${params.id}`, auth(cookies));
return { account };
-}
+};
export const actions = {
default: async ({ cookies, params, request }) => {
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte
index 3f7bb900..63fd7a42 100644
--- a/src/routes/(app)/account/[id]/+page.svelte
+++ b/src/routes/(app)/account/[id]/+page.svelte
@@ -37,10 +37,10 @@
}
};
-let nwc;
+ let nwc;
let revealNwc = () =>
(nwc = `nostr+walletconnect://${pk}?relay=${encodeURIComponent(
- relay
+ relay,
)}&secret=${user.nwc}`);
</script>